package org.gap.wizards.spells;

import org.gap.wizards.creature.SelectCreature;
import org.gap.wizards.creature.Creature.Attribute;
import org.gap.wizards.effects.Effect;
import org.gap.wizards.effects.Ray;
import org.gap.wizards.items.effects.DecreaseAttribute;
import org.gap.wizards.utils.Dice;
import org.gap.wizards.views.ViewPlatform.Color;

public class Factory {

	public static Spell getIceball(SelectCreature target) {
		Description description = new Description(3, 
				"Iceball", 
				new Ray(Color.SKY_BLUE, 50),
				"Your hands ice over with spent up power and releases, racing towards your target.",
				"Your hands begin to steam, but nothing more happens.");
		Effect effect = new DecreaseAttribute(Attribute.Hitpoints, Dice.D6);
		
		return new TargetableSpell(description, target, effect);
	}
}
